package cn.edu.ncut.cs.springboot.springbootdatabase.Controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class task {
    @GetMapping("/task") // http://localhost:8080/task
    public String hello() {
        return "该去干活了!";
    }
}